package com.ferdict;

import java.io.Serializable;

public class Outfit implements Serializable {
	private static final long serialVersionUID = 1L;
	private long outfitId;
	private String name;
	private String photoUrl;
	private int numLikes;
	private int numDislikes;
	private long owner;
	private boolean share;
	
	static class Builder {
		private Outfit outfit;
		
		public Builder() {
			outfit = new Outfit();
		}
		
		public Builder outfitId(long id) {
			outfit.outfitId = id;
			return this;
		}
		
		public Builder name(String name) {
			outfit.name = name;
			return this;
		}
		
		public Builder photo(String url) {
			outfit.photoUrl = url;
			return this;
		}
		
		public Builder numLikes(int count) {
			outfit.numLikes = count;
			return this;
		}
		
		public Builder numDislikes(int count) {
			outfit.numDislikes = count;
			return this;
		}
		
		public Builder owner(long ownerId) {
			outfit.owner = ownerId;
			return this;
		}
		
		public Builder share(boolean isShare) {
			outfit.share = isShare;
			return this;
		}
		
		public Outfit build() {
			return outfit;
		}
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public long getOutfitId() {
		return outfitId;
	}

	public String getName() {
		return name;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public int getNumLikes() {
		return numLikes;
	}

	public int getNumDislikes() {
		return numDislikes;
	}

	public long getOwner() {
		return owner;
	}

	public boolean isShare() {
		return share;
	}

	public void setOutfitId(long outfitId) {
		this.outfitId = outfitId;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public void setNumLikes(int numLikes) {
		this.numLikes = numLikes;
	}

	public void setNumDislikes(int numDislikes) {
		this.numDislikes = numDislikes;
	}

	public void setOwner(long owner) {
		this.owner = owner;
	}

	public void setShare(boolean share) {
		this.share = share;
	}
	
}
